qaac 1.39
Usage: qaac [options] infiles....

"-" as infile means stdin.
On ADTS/WAV output mode, "-" as outfile means stdout.

Main options:
--formats              Show available AAC formats and exit
-a, --abr <bitrate>    AAC ABR mode / bitrate
-V, --tvbr <n>         AAC True VBR mode / quality [0-127]
-v, --cvbr <bitrate>   AAC Constrained VBR mode / bitrate
-c, --cbr <bitrate>    AAC CBR mode / bitrate
                       For -a, -v, -c, "0" as bitrate means "highest".
                       Highest bitrate available is automatically chosen.
                       For LC, default is -V90
                       For HE, default is -v0
--he                   HE AAC mode (TVBR is not available)
-q, --quality <n>      AAC encoding Quality [0-2]
--adts                 ADTS output (AAC only)
-A, --alac             ALAC encoding mode
--check                Show library versions and exit
-D, --decode           Wave output mode.
--no-optimize          Don't optimize MP4 container file after encoding
-b, --bits-per-sample <n>
                       Bits per sample of output (for WAV/ALAC) [16/24]
-r, --rate <keep|auto|n>
                       keep: output sampling rate will be same as input
                             if possible.
                       auto: output sampling rate will be automatically
                             chosen by encoder.
                       n: desired output sampling rate in Hz
--lowpass <number>     Specify lowpass filter cut-off frequency in Hz
                       Use this when you want lower cut-off than
                       Apple default.
--gain <f>             Adjust gain by f dB.
                       Use negative value to decrese gain, when you want to
                       avoid clipping introduced by DSP.
-N, --normalize        Normalize (works in two pass. generates HUGE tempfile
                       for large input)
--delay <millisecs>    When positive value is given, prepend silence at the
                       begining to achieve delay of specified amount.
                       When negative value is given, specified length is
                       dropped from the beginning.
--matrix-preset <name> Specify preset remixing matrix name.
--matrix-file <file>   Specify file containing remixing matrix.
--no-matrix-normalize  Don't automatically normalize(scale) matrix
                       coefficients for the matrix mixer.
--chanmap <n1,n2...>   Re-arrange channels to the specified order.
                       For N-ch input, you take numbers 1,2..N, and
                       arrange them with comma-seperated, to the order
                       you want.
                       For example, "--chanmap 2,1" swaps left and right
--chanmask <n>         Force specified value as input channel mask(bitmap).
                       If --chanmask 0 is specified, qaac treats it as if
                       no channel mask is present in the source, and pick
                       default layout.
-d <dirname>           Output directory. Default is current working dir
--tmpdir <dirname>     Temporary directory. Default is %TMP%
-s, --silent           Suppress console messages
--verbose              More verbose console messages
-i, --ignorelength     Assume WAV input and ignore the data chunk length
-R, --raw              Raw PCM input
--threading            Enable multi-threading
-n, --nice             Give lower process priority
--text-codepage <n>    Specify text code page of cuesheet/chapter/lyrics.
                       1252 for Latin-1, 65001 for UTF-8.
                       Use this when automatic encoding detection fails.
-S, --stat             Save bitrate statistics into file
--log <filename>       Output message to file

Option for single output file:
-o <filename>          Output filename
--concat               Encode whole inputs into single file. 
                       Requires output filename (with -o)

Option for cue sheet input:
--concat-cuesheet         Output single file rather than splitting by tracks
--fname-format <string>   Format string for output filename

Options for Raw PCM input only:
--raw-channels <n>     Number of channels, default 2
--raw-rate     <n>     Sample rate, default 44100
--raw-format   <str>   Sample format, default S16L
                       Sample format spec:
                       1st char: S(igned) | U(nsigned) | F(loat)
                       2nd part: Bitwidth
                       Last part: L(ittle Endian) | B(ig Endian)
                       Cases are ignored. u8b is OK.

Options for CoreAudio sample rate converter:
--native-resampler[=line|norm|bats,n]
                       Arguments are optional.
                       Without argument, codec default SRC is used.
                       With argument, dedicated AudioConverter is used for
                       sample rate conversion.
                       '--native-resampler' and arguments must be delimited
                       by a '=' (space is not usable here).
                       Arguments must be delimited by a ','(comma).
                       First argument is sample rate converter complexity,
                       and one of line, norm, bats.
                         line: linear (worst, don't use this)
                         norm: normal
                         bats: mastering (best, but quite sloooow)
                       Second argument is sample rate converter quality,
                       which is an integer between 0-127.
                       Example:
                         --native-resampler
                         --native-resampler=norm,96

Tagging options:
 (same value is set to all files, so use with care for multiple files)
--title <string>
--subtitle <string>
--artist <string>
--band <string>       This means "Album Artist".
--album <string>
--grouping <string>
--composer <string>
--comment <string>
--genre <string>
--date <string>
--track <number[/total]>
--disk <number[/total]>
--compilation[=0|1]
                      By default, iTunes compilation flag is not set.
                      --compilation or --compilation=1 sets flag on.
                      --compilation=0 is same as default.
--lyrics <filename>
--artwork <filename>
--artwork-size <n>    Specify maximum width or height of artwork in pixels.
                      If specified artwork (with --artwork) is larger than
                      this, artwork is automatically resized.
--chapter <filename>
                      Set chapter from file.
